<?php

namespace Admin\Controller; 
use Think\Controller;
use Org\Util;
use Org\GrLBS;

/**
 * Description of LbsApiController
 *
 * @author Myron
 */
class LbsApiController extends Controller {
    //返回点所在区域的第三方ID
    public function getAreaID($lng=null, $lat=null,$appkey=null,$projectID=null){
        $GeoUtils=new GrLBS\GeoUtils(); 
        $result=$GeoUtils->isPointInArea($appkey,$projectID,$lng,$lat); 
        $this->ajaxReturn($result);
    }
    
    
    
}
